/*
 * @Author: 一盏青灯欲锁魂
 * @Date: 2021-06-15 16:40:31
 * @LastEditTime: 2021-06-25 08:47:42
 * @Description: 模块整流层
 * @FilePath: \nest_demo\src\module\index\index.module.ts
 */

import { Module } from '@nestjs/common';
import { UserController } from './user.controller';
import { UserService } from './user.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserEntity } from './user.entity';


@Module({
  imports: [
    TypeOrmModule.forFeature([UserEntity]),
  ],
  controllers: [UserController],
  providers: [UserService],
})
export class UserModule {}